package com.ruoyi.personal.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 直属亲人，用于记录直属亲人的相关信息对象 t_direct_relatives
 * 
 * @author qjp
 * @date 2024-09-11
 */
public class DirectRelatives extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 亲属姓名 */
    @Excel(name = "亲属姓名")
    private String relativeName;

    /** 与本人关系 */
    @Excel(name = "与本人关系")
    private String relation;

    /** 是否与子女共同生活 */
    @Excel(name = "是否与子女共同生活")
    private String isLiveChildren;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况")
    private String maritalStatus;

    /** 婚姻变化情况 */
    @Excel(name = "婚姻变化情况")
    private String maritalChange;

    /** 工作(学习)单位 */
    @Excel(name = "工作(学习)单位")
    private String workStudyUnit;

    /** 现任职务 */
    @Excel(name = "现任职务")
    private String position;

    /** 单位性质 */
    @Excel(name = "单位性质")
    private String unitNature;

    /** 是否担任高级职务 */
    @Excel(name = "是否担任高级职务")
    private String isSeniorPosition;

    /** 是否在国（境）外 */
    @Excel(name = "是否在国", readConverterExp = "境=")
    private String isAbroad;

    /** 证件名称 */
    @Excel(name = "证件名称")
    private String certificateName;

    /** 证件号 */
    @Excel(name = "证件号")
    private String idNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRelativeName(String relativeName) 
    {
        this.relativeName = relativeName;
    }

    public String getRelativeName() 
    {
        return relativeName;
    }
    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }
    public void setIsLiveChildren(String isLiveChildren) 
    {
        this.isLiveChildren = isLiveChildren;
    }

    public String getIsLiveChildren() 
    {
        return isLiveChildren;
    }
    public void setMaritalStatus(String maritalStatus) 
    {
        this.maritalStatus = maritalStatus;
    }

    public String getMaritalStatus() 
    {
        return maritalStatus;
    }
    public void setMaritalChange(String maritalChange) 
    {
        this.maritalChange = maritalChange;
    }

    public String getMaritalChange() 
    {
        return maritalChange;
    }
    public void setWorkStudyUnit(String workStudyUnit) 
    {
        this.workStudyUnit = workStudyUnit;
    }

    public String getWorkStudyUnit() 
    {
        return workStudyUnit;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setUnitNature(String unitNature) 
    {
        this.unitNature = unitNature;
    }

    public String getUnitNature() 
    {
        return unitNature;
    }
    public void setIsSeniorPosition(String isSeniorPosition) 
    {
        this.isSeniorPosition = isSeniorPosition;
    }

    public String getIsSeniorPosition() 
    {
        return isSeniorPosition;
    }
    public void setIsAbroad(String isAbroad) 
    {
        this.isAbroad = isAbroad;
    }

    public String getIsAbroad() 
    {
        return isAbroad;
    }
    public void setCertificateName(String certificateName) 
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("relativeName", getRelativeName())
            .append("relation", getRelation())
            .append("isLiveChildren", getIsLiveChildren())
            .append("maritalStatus", getMaritalStatus())
            .append("maritalChange", getMaritalChange())
            .append("workStudyUnit", getWorkStudyUnit())
            .append("position", getPosition())
            .append("unitNature", getUnitNature())
            .append("isSeniorPosition", getIsSeniorPosition())
            .append("isAbroad", getIsAbroad())
            .append("certificateName", getCertificateName())
            .append("idNumber", getIdNumber())
            .toString();
    }
}
